package com.car.service;

import com.car.entity.Detailedlistofrentalcharges;
import com.car.vo.DetailedlistofrentalchargesVo;
import com.car.vo.orderVo;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface DetailedlistofrentalchargesService {
    int deleteByPrimaryKey(Integer rentalCostID);

    int insert(Detailedlistofrentalcharges record);

    DetailedlistofrentalchargesVo selectByPrimaryKey(String orderId);

    List<Detailedlistofrentalcharges> selectAll();

    int updateByPrimaryKey(Detailedlistofrentalcharges record);

	int addDetail(DetailedlistofrentalchargesVo detaillist);
    
    int updTotalAndCouponUsageToOrderId(Integer total,
    	Integer couponUsage,
    		String orderId);
}